#include <iostream>
#include <cstring> // For strcpy

void bufferOverflow() {
    char buffer[10];
    strcpy(buffer, "This is a long string!"); // 超过 buffer 大小，触发缓冲区溢出
}

int main() {
    bufferOverflow();
    return 0;
}
